package chapter.job3;
//如果老鼠被猫抓住,被咬死,猫体力上涨,老鼠体力变成0;
public class Mouse {
    public String name;
    public double weight;
    public int power;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public Mouse(String name, double weight, int power) {
        this.name = name;
        this.weight = weight;
        this.power = power;
    }

    public Mouse() {
    }

    public void show(){
        System.out.println("名字"+name+"体重,"+weight+"体力"+power);

    }
    public static void inform(boolean weight) {
    }}
